package com.ld.control.business.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ld.control.business.user.model.RoleModel;
import com.ld.control.business.user.vo.resp.RoleRespVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 角色表 Mapper 接口
 * </p>
 *
 * @author wangfeng
 * @since 2024-04-12
 */
public interface RoleMapper extends BaseMapper<RoleModel> {

    /**
     * 查询所有数据
     * @return
     */
    List<RoleRespVo> selectAllList();


    List<RoleRespVo> selectListByUserAccountId(@Param("userAccountId") Long userAccountId);


}
